import request from '@/utils/request'
// 兼职任职档案List
export function parttimeRecordListApi(query) {
  return request({
    url: '/jsjx/parttimeRecord/list',
    method: 'get',
    params: query
  })
};
// 兼职任职档案ById
export function parttimeRecordByIdApi(id) {
  return request({
    url: `/jsjx/parttimeRecord/${id}`,
    method: 'get',
  })
};
// 兼职任职档案Add
export function parttimeRecordAddApi(data) {
  return request({
    url: '/jsjx/parttimeRecord',
    method: 'post',
    data
  })
};
// 兼职任职档案Edit
export function parttimeRecordEditApi(data) {
  return request({
    url: '/jsjx/parttimeRecord',
    method: 'put',
    data
  })
};
// 兼职任职档案Del
export function parttimeRecordDelApi(id) {
  return request({
    url: `/jsjx/parttimeRecord/${id}`,
    method: 'delete',
  })
};